home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 9 / FM Towns Free Software Collection 9.iso / t_os / shell / igo / gosource / miban.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-16  |  790 b   |  38 lines

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <winb.h>
  4. #include <te.h>
  5. #include <fntb.h>
  6. #include <gui.h>
  7.  
  8. extern int    ban_windowId ;
  9. extern int    igo_disp() ;
  10.  
  11. #define ALIGN    4
  12. #define OFFSET(type) (sizeof(MMIPACKET) + (sizeof(type)+ALIGN-1)/ALIGN*ALIGN)
  13.  
  14. /*    MMI_init 用データ    */
  15.  
  16. /*    ヘッダ    */
  17.  
  18. MMIINIT    initDataMIBAN = { "MmiInit",   1, 0 } ;
  19.  
  20. /* ban_windowId */
  21.  
  22. static MMIPACKET d001 = {    &ban_windowId,
  23.                             NULL,
  24.                             &MJ_WINDOWL40,
  25.                             0,
  26.                             MS_NONE
  27.                         } ;
  28. static WINDOWL40    d001d = {    MS_BTRIGHTL40 | MS_BTLEFTL40 | MS_EVMOSONL40 | MS_TITLEL40 | MS_CLOSEL40,
  29.                              200,  21, 639, 479, 8, 7, 7,
  30.                             MS_NONEL40,
  31.                             NULL,   0,   0,
  32.                                1,  17, 440, 440,
  33.                              128,  96, 640, 480,
  34.                             igo_disp,
  35.                             "碁盤",
  36.                         } ;
  37.  
  38.